//获得菜单数据
import apiUrl from '../api/api.js'//全部请求接口
import axiosInterceptor from '../util/axios/axiosInterceptor.js'// axios 拦截器


//字典查找接口
export  const systemDictList = async(data)=>{
    let returnData;
        //菜单数据
    await axiosInterceptor.post(apiUrl.systemDictList,data).then((res) => {
        if(!!res){
            returnData = res.data.data;
        }else{
            returnData = false;
        }
    }).catch((err) => {
        console.log("失败", err)
    })

    return returnData;

}


